<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>设置</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<script type="text/javascript" src="../js/lib/remtest.js"></script>
		<link rel="stylesheet" href="../css/mui.min.css">
		<script type="text/javascript" src="../js/iconfont.js"></script>
		<style>
			.iconzs {
				width: 1em;
				height: 1em;
				vertical-align: -0.15em;
				fill: currentColor;
				overflow: hidden;
			}
			
			html,
			body {
				background-color: #eeeeee;
			}
			/*头部*/
			
			.mui-navbar {
				background-color: #313131;
				height: 0.67rem;
			}
			
			.mui-navbar h1 {
				color: #FFFFFF;
				font-size: 0.38rem;
				line-height: 0.67rem;
			}
			/*白色箭头*/
			
			.mui-icon-back:before,
			.mui-icon-left-nav:before {
				color: #FFFFFF !important;
			}
			/*白色箭头end*/
			
			.mui-views,
			.mui-view,
			.mui-pages,
			.mui-page,
			.mui-page-content {
				position: absolute;
				left: 0;
				right: 0;
				top: 0;
				bottom: 0;
				width: 100%;
				height: 100%;
				background-color: #efeff4;
			}
			
			.mui-pages {
				top: 46px;
				height: auto;
			}
			/*黑色修改*/
			
			.mui-navbar .mui-bar {
				position: absolute;
				background: transparent;
				text-align: center;
				background: #313131;
			}
			
			.mui-bar h1 {
				color: #FFFFFF;
				font-size: 0.3rem;
				line-height: 0.67rem;
			}
			
			.mui-scroll-wrapper,
			.mui-scroll {
				background-color: #efeff4;
				font-size: 0.24rem;
			}
			
			.mui-page.mui-transitioning {
				-webkit-transition: -webkit-transform 300ms ease;
				transition: transform 300ms ease;
			}
			
			.mui-page-left {
				-webkit-transform: translate3d(0, 0, 0);
				transform: translate3d(0, 0, 0);
			}
			
			.mui-ios .mui-page-left {
				-webkit-transform: translate3d(-20%, 0, 0);
				transform: translate3d(-20%, 0, 0);
			}
			
			.mui-navbar .mui-bar {
				position: absolute;
				background: transparent;
				text-align: center;
			}
			
			.mui-android .mui-navbar-inner.mui-navbar-left {
				opacity: 0;
			}
			
			.mui-ios .mui-navbar-left .mui-left,
			.mui-ios .mui-navbar-left .mui-center,
			.mui-ios .mui-navbar-left .mui-right {
				opacity: 0;
			}
			
			.mui-navbar .mui-btn-nav {
				-webkit-transition: none;
				transition: none;
				-webkit-transition-duration: .0s;
				transition-duration: .0s;
			}
			
			.mui-navbar .mui-bar .mui-title {
				display: inline-block;
				width: auto;
			}
			
			.mui-collapse-content {
				background: #EEEEEE !important;
			}
			
			.mui-collapse-content p {
				font-size: 0.24rem;
				color: #888888;
			}
			
			.mui-page-shadow {
				position: absolute;
				right: 100%;
				top: 0;
				width: 16px;
				height: 100%;
				z-index: -1;
				content: '';
			}
			
			.mui-page-shadow {
				background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
				background: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
			}
			
			.mui-navbar-inner.mui-transitioning,
			.mui-navbar-inner .mui-transitioning {
				-webkit-transition: opacity 300ms ease, -webkit-transform 300ms ease;
				transition: opacity 300ms ease, transform 300ms ease;
			}
			
			.mui-page {
				display: none;
			}
			
			.mui-pages .mui-page {
				display: block;
			}
			
			.mui-page .mui-table-view:first-child {}
			
			.mui-page .mui-table-view:last-child {
				margin-bottom: 0.2rem;
				margin-top: 0.2rem;
			}
			
			#acLink {
				margin-top: 0.2rem;
			}
			
			.mui-table-view span.mui-pull-right {
				color: #999;
			}
			
			.mui-table-view-divider {
				background-color: #efeff4;
				font-size: 14px;
			}
			
			.mui-table-view-divider:before,
			.mui-table-view-divider:after {
				height: 0;
			}
			
			.head {
				height: 40px;
			}
			
			#head {
				line-height: 40px;
			}
			
			.head-img {
				width: 40px;
				height: 40px;
			}
			
			#head-img1 {
				position: absolute;
				bottom: 10px;
				right: 40px;
				width: 40px;
				height: 40px;
			}
			
			.update {
				font-style: normal;
				color: #999999;
				font-size: 15px
			}
			
			.mui-fullscreen {
				position: fixed;
				z-index: 20;
				background-color: #000;
			}
			
			.mui-ios .mui-navbar .mui-bar .mui-title {
				position: static;
			}
			/*问题反馈在setting页面单独的css*/
			
			#feedback .mui-popover {
				position: fixed;
			}
			
			#feedback .mui-table-view:last-child {
				margin-bottom: 0px;
			}
			
			#feedback .mui-table-view:first-child {
				margin-top: 0px;
			}
			/*问题反馈在setting页面单独的css==end*/
			
			.mui-page .mui-table-view:first-child {
				margin-top: 0px;
			}
			
			.mui-table-view .mui-media-object {
				line-height: 75px;
				max-width: 75px;
				height: 75px;
			}
			
			.mui-table-view .mui-media-body {
				line-height: 75px;
				color: #313131 !important;
				font-weight: bold;
			}
			
			.kjannbg {
				border-radius: 50%;
				width: 0.78rem;
				height: 0.78rem;
				line-height: 0.68rem;
			}
			
			.kjannbg .iconzs {
				width: 0.4rem;
				height: 0.4rem;
			}
			
			.kjannbg#an1 {
				background: #ecb714;
				box-shadow: 0px 3px #fcf4da;
				-webkit-box-shadow: 0px 3px #fcf4da;
			}
			
			.kjannbg#an2 {
				background: #00a0e9;
				box-shadow: 0px 3px #c6eafa;
				-webkit-box-shadow: 0px 3px #c6eafa;
			}
			
			.kjannbg#an3 {
				background: #eb6877;
				box-shadow: 0px 3px #fadce0;
				-webkit-box-shadow: 0px 3px #fadce0;
			}
			
			.mui-grid-view.mui-grid-9 .mui-table-view-cell {
				margin: 0;
				padding: 0px 15px;
				vertical-align: top;
				border-right: 0px;
				border-bottom: 0px;
			}
			
			.head-img {
				border-radius: 50%;
				height: 75px;
				width: 75px;
			}
			
			.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body {
				font-size: 15px;
				line-height: 19px;
				display: block;
				width: 100%;
				height: 19px;
				margin-top: 8px;
				text-overflow: ellipsis;
				color: #333;
				font-weight: 100;
			}
			
			.mui-switch.mui-active {
				border-color: #ecb714;
				background-color: #ecb714;
			}
			/*个人信息*/
			
			#tuchulogin {
				border-radius: 10px;
				font-size: 18px;
				display: block;
				width: 100%;
				margin: 10px 0;
				padding: 10px 0;
				background: #ecb714;
				border: 0px;
			}
			/*我的收藏*/
			
			#shouc .mui-card-link .mui-icon {
				font-size: 18px;
				color: #8a8a8a;
			}
			
			#shouc .mui-card-header.mui-card-media .mui-media-body {
				font-size: 15px;
				font-weight: 500;
				line-height: 24px;
				margin-bottom: 0;
				margin-left: 0px;
				color: #333;
			}
			
			#shouc .mui-card-header.mui-card-media .mui-media-body h4 {
				font-size: 16px;
				line-height: 24px;
				width: 100%;
				color: #313131;
				position: relative;
			}
			
			#shouc .mui-card-header.mui-card-media .mui-media-body p {
				font-size: 13px;
				margin-bottom: 0;
				line-height: 20px;
				padding-top: 10px;
			}
			
			#shouc .xianqing {
				width: 0.5em;
				height: 0.5em;
				display: block;
			}
			
			#shouc .rightqj {
				display: inline-block;
			}
			
			#shouc .mui-card-footer:before,
			.mui-card-header:after {
				position: absolute;
				top: 0;
				right: 0;
				left: 0;
				height: 0px;
				content: '';
				-webkit-transform: scaleY(.5);
				transform: scaleY(.5);
				background-color: #c8c7cc;
			}
			
			#shouc .mui-card-header:after {
				top: auto;
				height: 1px;
				bottom: 0;
				width: 90%;
				margin: 0 auto;
				text-align: center;
			}
			
			#shouc .mui-card {
				margin: 10px 10px !important;
				border-radius: 5px;
			}
			
			#shouc .mui-table-view {
				position: relative;
				margin-top: 0;
				margin-bottom: 0;
				padding-left: 0;
				list-style: none;
				background-color: rgba(0, 0, 0, 0);
			}
			
			.mui-table-view-cell {
				position: relative;
				overflow: hidden;
				padding: 0.2rem 0.22rem !important;
			}
			
			#shouc .mui-table-view.mui-grid-view .mui-table-view-cell {
				font-size: 17px;
				display: inline-block;
				margin-right: -4px;
				padding: 10px 0 0 10px;
				text-align: center;
				vertical-align: middle;
				background: 0 0;
			}
			
			#shouc .mui-table-view.mui-grid-view {
				font-size: 0;
				display: block;
				width: 100%;
				padding: 0 0px 10px 0;
				white-space: normal;
			}
			
			#shouc .zixuntit {
				background: #5092e4;
				height: 7em;
				width: 100%;
				border-radius: 8px;
			}
			
			#shouc .zixuntit .iconzs {
				font-size: 50px;
				margin-top: 20px;
			}
			
			#shouc .zixuntit .ltit {
				line-height: 40px;
				color: #FFFFFF;
			}
			
			.mui-table-view-chevron .mui-table-view-cell>a:not(.mui-btn) {
				margin-right: 0px
			}
			
			.updatea:after {
				right: 15px;
				content: ' ' !important;
			}
		</style>
		<link rel="stylesheet" type="text/css" href="../css/feedback.css" />
	</head>

	<body class="mui-fullscreen">
		<!--页面主结构开始-->
		<div id="app" class="mui-views">

			<div class="mui-navbar">
			</div>
			<div class="mui-pages">
			</div>

		</div>
		<!--页面主结构结束-->
		<!--单页面开始-->
		<div id="setting" class="mui-page">
			<!--页面标题栏开始-->
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					
				</button>
				<h1 class="mui-center mui-title">设置</h1>
			</div>
			<!--页面标题栏结束-->
			<!--页面主内容区开始-->
			<div class="mui-page-content">

				<ul class="mui-table-view mui-table-view-chevron" style="background: url(../images/settingbg.jpg) no-repeat; height: 2.92rem; width: 100%; background-size: cover;">
					<li class="mui-table-view-cell mui-media" style="padding-top: 0.45rem !important;">
						<a id="login" class="mui-navigate-right">
							<img class="mui-media-object head-img" id="head-img" src="../images/logo.png">
							<div class="mui-media-body">
								<p class='mui-ellipsis' id='myName'>登陆/注册</p>
							</div>
						</a>
					</li>
				</ul>

				<ul id="nva" class="mui-table-view mui-grid-view mui-grid-9" style="background: #FFFFFF;">
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4">
						<a id="quicklyRegister" href="#">
							<span class="mui-icon kjannbg" id="an1"> 
		                    	 
		                    	<svg class="iconzs" >
 									 <use xlink:href="#icon-kuaisukaihu"></use>
								</svg>
		                    	
		                    </span>
							<div class="mui-media-body">快速开户</div>
						</a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4">
						<a id="zcEdu" href="zcschool.html">
							<span class="mui-icon kjannbg" id="an2">
		                    	
		                    	<svg class="iconzs" >
 									 <use xlink:href="#icon-zhongchengxueyuan"></use>
								</svg>
		                    	
		                    </span>
							<div class="mui-media-body">中诚学院</div>
						</a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 tel">
						<a>
							<span class="mui-icon kjannbg" id="an3">
		                    	
		                    	<svg class="iconzs" >
 									 <use xlink:href="#icon-dianhuafuwu"></use>
								</svg>
		                    	
		                    </span>
							<div class="mui-media-body">客服QQ</div>
						</a>
					</li>

				</ul>

				<ul id='acLink' class="mui-table-view mui-table-view-chevron">
					<li class="mui-table-view-cell">
						<a class="mui-navigate-right" onclick="openWindowWithTitle('user/ArticleCollection.html','我的收藏');">
							<!--href="#notifications"-->
							<svg class="iconzs">
								<use xlink:href="#icon-wodeshoucang"></use>
							</svg>
							我的收藏

						</a>
					</li>
					<li class="mui-table-view-cell">
						<a href="#privacy" class="mui-navigate-right">
							<svg class="iconzs">
								<use xlink:href="#icon-changjianwenti"></use>
							</svg>
							我的草稿</a>
					</li>
					<!--<li class="mui-table-view-cell">
						<a href="#clear" class="mui-navigate-right">
							<svg class="iconzs">
								<use xlink:href="#icon-qingchu"></use>
							</svg>
							清除缓存 <i class="mui-pull-right update">12M</i></a>
					</li>-->
					<!--<li class="mui-table-view-cell">

						<svg class="iconzs">
							<use xlink:href="#icon-shezhi"></use>
						</svg>
						消息设置
						<div class="mui-switch mui-switch-mini mui-active" id="mySwitch">
							<div class="mui-switch-handle"></div>
						</div>

					</li>-->
					
					<li class="mui-table-view-cell">
						<a href="#privacy" class="mui-navigate-right">
							<svg class="iconzs">
								<use xlink:href="#icon-changjianwenti"></use>
							</svg>
							每日答题</a>
					</li>
					
						<li class="mui-table-view-cell">
						<a id="share" class="mui-navigate-right">
							<svg class="iconzs">
								<use xlink:href="#icon-fenxiang"></use>
							</svg>
							邀请好友</a>
					</li>
					<li class="mui-table-view-cell">
						<a href="#privacy" class="mui-navigate-right">
							<svg class="iconzs">
								<use xlink:href="#icon-changjianwenti"></use>
							</svg>
							账户管理</a>
					</li>
					
					
					<li class="mui-table-view-cell">
						<a href="#privacy" class="mui-navigate-right">
							<svg class="iconzs">
								<use xlink:href="#icon-changjianwenti"></use>
							</svg>
							系统设置</a>
					</li>
				</ul>
				
			</div>

			<!--页面主内容区结束-->
		</div>
		<!--单页面结束-->
		<div id="account" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button id='account_back' type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span><!--设置-->
				</button>
				<h1 class="mui-center mui-title">账号与安全</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<ul class="mui-table-view">
							<li class="mui-table-view-cell">
								<a id="head" class="mui-navigate-right">头像
									<span class="mui-pull-right head">
									<img class="head-img mui-action-preview" id="head-img1" src=""/>
								</span>
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a>账户<span class="mui-pull-right" id="myName"></span></a>
							</li>
							<!--<li class="mui-table-view-cell">
								<a>修改密码<span class="mui-pull-right"></span></a>
							</li>-->
						</ul>
						<!--<ul class="mui-table-view">

							<li class="mui-table-view-cell">
								<a>更改手机号码<span class="mui-pull-right">18601234567</span></a>
							</li>

						</ul>-->

						<div class="mui-content-padded">
							<button id='tuchulogin' class="mui-btn mui-btn-block mui-btn-primary">
 									退出登陆</button>

						</div>
					</div>

				</div>
			</div>
		</div>
		</div>

		<div id="notifications_disturb" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav">
						
					</span>新消息通知
				</button>
				<h1 class="mui-center mui-title">功能消息免打扰</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<ul class="mui-table-view mui-table-view-radio">
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">开启</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">只在夜间开启</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">关闭</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div id="privacy" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span><!--设置-->
				</button>
				<h1 class="mui-center mui-title">常见问题</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">

						<ul class="mui-table-view">
							<li class="mui-table-view-cell mui-collapse">
								<a class="mui-navigate-right" href="#" style="background-color: white;">1,如何开户？</a>
								<div class="mui-collapse-content">
									<p>点击首页快速开户按钮，自行开户</p>
								</div>
							</li>
							<li class="mui-table-view-cell mui-collapse">
								<a class="mui-navigate-right" href="#" style="background-color: white;">2,开户之后何时能交易？</a>
								<div class="mui-collapse-content">
									<p> 开户后激活账号分两个时间段。</br>
										若您当日15:30前开户成功，则T+2个交易日即可正常交易；</br>
										若您当日15:30后开户成功，则T+3个交易日即可正常交易；</p>
								</div>
							</li>

							<li class="mui-table-view-cell mui-collapse">
								<a class="mui-navigate-right" href="#" style="background-color: white;">3,为什么不能收藏文章？</a>
								<div class="mui-collapse-content">
									<p> 用户必须登录后才能收藏文章，可以载设置页面点击头像登录</br>
								</div>
							</li>

							<li class="mui-table-view-cell mui-collapse">
								<a class="mui-navigate-right" href="#" style="background-color: white;">4,怎么登录？</a>
								<div class="mui-collapse-content">
									<p>我们提供两个登录方式，可以通过微信登录，也可以通过手机号码登录（可以在注册页面通过手机号码注册）</p>
								</div>
							</li>
						</ul>

					</div>
				</div>
			</div>
		</div>
		<div id="general" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span><!--设置-->
				</button>
				<h1 class="mui-center mui-title">消息设置</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<ul class="mui-table-view">
							<li class="mui-table-view-cell" id="msgNiti">
								消息通知
								<div class="mui-switch mui-switch-mini mui-active">
									<div class="mui-switch-handle"></div>
								</div>
							</li>
						</ul>

					</div>
				</div>
			</div>
		</div>

		<div id="about" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span><!--设置-->
				</button>
				<h1 class="mui-center mui-title">关于</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<div class="mui-content">

							<div style="text-align: center; margin-top: 40px; margin-bottom: 70px;">
								<img src="../images/zclogo.png">
							</div>

							<ul class="mui-table-view mui-table-view-chevron">

								<li class="mui-table-view-cell tel">
									<a class="mui-navigate-right updatea">

										客服QQ<i class="mui-pull-right update">3004174691 </i></a>
								</li>
								<li class="mui-table-view-cell">
									<a href="#" onclick="openWindowWithTitle('sub.html?url=http://www.99990158.com','中诚黄金官网');" class="updatea mui-navigate-right">

										官网 <i class="mui-pull-right update">www.99990158.com</i></a>
								</li>
								<li class="mui-table-view-cell">
									<a href="#duty" class="mui-navigate-right">

										免责声明</a>
								</li>
								<li class="mui-table-view-cell" id="liVsersion" style="display: none;">
									<a href="" class="mui-navigate-right">

										版本号（<span id="version"></span>）</a>
								</li>
							</ul>

						</div>
					</div>
				</div>
			</div>
		</div>

		<div id="feedback" class="mui-page feedback">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					关于
				</button>
				<button id="submit" class="mui-btn mui-btn-blue mui-btn-link mui-pull-right">发送</button>
				<h1 class="mui-center mui-title">问题反馈</h1>
			</div>
			<div class="mui-page-content">
				<div class="mui-content-padded">
					<div class="mui-inline">问题和意见</div>
					<a class="mui-pull-right mui-inline" href="#popover">
						快捷输入
						<span class="mui-icon mui-icon-arrowdown"></span>
					</a>
					<!--快捷输入具体内容，开发者可自己替换常用语-->
					<div id="popover" class="mui-popover">
						<div class="mui-popover-arrow"></div>
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll">
								<ul class="mui-table-view">
									<!--仅流应用环境下显示-->
									<li class="mui-table-view-cell stream">
										<a href="#">桌面快捷方式创建失败</a>
									</li>
									<li class="mui-table-view-cell">
										<a href="#">界面显示错乱</a>
									</li>
									<li class="mui-table-view-cell">
										<a href="#">启动缓慢，卡出翔了</a>
									</li>
									<li class="mui-table-view-cell">
										<a href="#">偶发性崩溃</a>
									</li>
									<li class="mui-table-view-cell">
										<a href="#">UI无法直视，丑哭了</a>
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="row mui-input-row">
					<textarea id='question' class="mui-input-clear question" placeholder="请详细描述你的问题和意见..."></textarea>
				</div>
				<p>图片(选填,提供问题截图,总大小10M以下)</p>
				<div id='image-list' class="row image-list"></div>
				<p>QQ/邮箱</p>
				<div class="mui-input-row">
					<input id='contact' type="text" class="mui-input-clear contact" placeholder="(选填,方便我们联系你 )" />
				</div>
				<div class="mui-content-padded">
					<div class="mui-inline">应用评分</div>
					<div class="icons mui-inline" style="margin-left: 6px;">
						<i data-index="1" class="mui-icon mui-icon-star"></i>
						<i data-index="2" class="mui-icon mui-icon-star"></i>
						<i data-index="3" class="mui-icon mui-icon-star"></i>
						<i data-index="4" class="mui-icon mui-icon-star"></i>
						<i data-index="5" class="mui-icon mui-icon-star"></i>
					</div>
				</div><br />
			</div>
		</div>
		<div id="rate"></div>

		<div id="update"></div>
		<div id="welcome"></div>
		<div id="duty" class="mui-page">
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<button type="button" class="mui-left mui-action-back mui-btn mui-btn-link mui-btn-nav mui-pull-left">
					<span class="mui-icon mui-icon-left-nav"></span><!--设置-->
				</button>
				<h1 class="mui-center mui-title">免责声明</h1>
			</div>
			<div class="mui-page-content" style="padding: 0 0.22rem; line-height: 0.5rem;">
				<ul style="list-style: none;padding: 0;">
					<!--仅流应用环境下显示-->
					<li>
						1、本直播间讲师与管理员言论为个人研究，不构成任何操作建议，据此买卖者，风险自担。 </li>
					<li>2、分析师发表的言论仅代表其个人对于投资的市场观点。请选择正规平台，远离小黑平台。 </li>
					<li>3、本平台声明：自觉接受监督部门及投资者的监督。“禁止代客理财，保证收益，分成合作”正规的交易平台严格执行标准，为行业正本清源，树立标准。 </li>
					<li>4、本直播室所有内容，包括文字，图像，音频，视频只提供本公司授权者使用。访问者可将本网站提供的内容服务于个人学习或欣赏，以及其他非商业性或者非盈利用途；没有本公司的书面授权，不得因任何目的，以任何方式复制，转载，记录和影音传播本直播室的任何部分。</li>
				</ul>

			</div>
		</div>
	</body>
	<script type="text/javascript" src="../js/static.js"></script>
	<script type="text/javascript" src="../js/Common.js"></script>
	<script src="../js/mui.min.js "></script>
	<script src="../js/mui.view.js "></script>

	<script>
		mui.init();
		//初始化单页view
		var viewApi = mui('#app').view({
			defaultPage: '#setting'
		});
		//初始化单页的区域滚动
		mui('.mui-scroll-wrapper').scroll();
		//分享操作
		var shares = {};

		mui.plusReady(function() {
			 
			//ios屏蔽版本号：
			if(isAndroid())
			{
				//关于我们  版本号
				document.getElementById('liVsersion').innerText = plus.runtime.version
				document.getElementById('liVsersion').style.display="";
			}

			

			//分享的点击事件 
			document.getElementById("share").addEventListener("tap", function(event) {

				openShare();
			})

			//消息通知 
			var AutoNotification = plus.storage.getItem("AutoNotification"); //1表示自动推送 0表示不关闭消息推送
			if(AutoNotification == 0) {
				mui("#mySwitch").switch().toggle();
			}
			document.getElementById("mySwitch").addEventListener("toggle", function(event) {

				plus.push.setAutoNotification(event.detail.isActive);
				if(event.detail.isActive) {
					plus.storage.setItem("AutoNotification", "1");
				} else {
					plus.storage.setItem("AutoNotification", "0");
				}

			})

		});

		//客服电话
		mui(".tel").on('tap', 'a', function() {
			CallTel('');

			var url = "mqqwpa://im/chat?chat_type=wpa&uin=3004174691";
			var Uri = plus.android.importClass('android.net.Uri');
			var main = plus.android.runtimeMainActivity();
			var Intent = plus.android.importClass('android.content.Intent');
			main.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
		});

		var view = viewApi.view;
		(function($) {
			//处理view的后退与webview后退
			var oldBack = $.back;
			$.back = function() {
				if(viewApi.canBack()) { //如果view可以后退，则执行view的后退
					viewApi.back();
				} else { //执行webview后退
					oldBack();
				}
			};
			//监听页面切换事件方案1,通过view元素监听所有页面切换事件，目前提供pageBeforeShow|pageShow|pageBeforeBack|pageBack四种事件(before事件为动画开始前触发)
			//第一个参数为事件名称，第二个参数为事件回调，其中e.detail.page为当前页面的html对象
			view.addEventListener('pageBeforeShow', function(e) {
				//				console.log(e.detail.page.id + ' beforeShow');
			});
			view.addEventListener('pageShow', function(e) {
				//				console.log(e.detail.page.id + ' show');
			});
			view.addEventListener('pageBeforeBack', function(e) {
				//				console.log(e.detail.page.id + ' beforeBack');
			});
			view.addEventListener('pageBack', function(e) {
				//				console.log(e.detail.page.id + ' back');
			});
		})(mui);
		//更换头像
		mui(".mui-table-view-cell").on("tap", "#head", function(e) {
			if(mui.os.plus) {
				var a = [{
					title: "拍照"
				}, {
					title: "从手机相册选择"
				}];
				plus.nativeUI.actionSheet({
					title: "修改头像",
					cancel: "取消",
					buttons: a
				}, function(b) {
					switch(b.index) {
						case 0:
							break;
						case 1:
							getImage();
							break;
						case 2:
							galleryImg();
							break;
						default:
							break
					}
				})
			}

		});

		function getImage() {
			var c = plus.camera.getCamera();
			c.captureImage(function(e) {
				plus.io.resolveLocalFileSystemURL(e, function(entry) {
					var s = entry.toLocalURL() + "?version=" + new Date().getTime();
					console.log(s);
					document.getElementById("head-img").src = s;
					document.getElementById("head-img1").src = s;
					//变更大图预览的src
					//目前仅有一张图片，暂时如此处理，后续需要通过标准组件实现
					document.querySelector("#__mui-imageview__group .mui-slider-item img").src = s + "?version=" + new Date().getTime();;;
				}, function(e) {
					console.log("读取拍照文件错误：" + e.message);
				});
			}, function(s) {
				console.log("error" + s);
			}, {
				filename: "_doc/head.jpg"
			})
		}

		function galleryImg() {
			plus.gallery.pick(function(a) {
				plus.io.resolveLocalFileSystemURL(a, function(entry) {
					plus.io.resolveLocalFileSystemURL("_doc/", function(root) {
						root.getFile("head.jpg", {}, function(file) {
							//文件已存在
							file.remove(function() {
								console.log("file remove success");
								entry.copyTo(root, 'head.jpg', function(e) {
										var e = e.fullPath + "?version=" + new Date().getTime();
										document.getElementById("head-img").src = e;
										document.getElementById("head-img1").src = e;
										//变更大图预览的src
										//目前仅有一张图片，暂时如此处理，后续需要通过标准组件实现
										document.querySelector("#__mui-imageview__group .mui-slider-item img").src = e + "?version=" + new Date().getTime();;
									},
									function(e) {
										console.log('copy image fail:' + e.message);
									});
							}, function() {
								console.log("delete image fail:" + e.message);
							});
						}, function() {
							//文件不存在
							entry.copyTo(root, 'head.jpg', function(e) {
									var path = e.fullPath + "?version=" + new Date().getTime();
									document.getElementById("head-img").src = path;
									document.getElementById("head-img1").src = path;
									//变更大图预览的src
									//目前仅有一张图片，暂时如此处理，后续需要通过标准组件实现
									document.querySelector("#__mui-imageview__group .mui-slider-item img").src = path;
								},
								function(e) {
									console.log('copy image fail:' + e.message);
								});
						});
					}, function(e) {
						console.log("get _www folder fail");
					})
				}, function(e) {
					console.log("读取拍照文件错误：" + e.message);
				});
			}, function(a) {}, {
				filter: "image"
			})
		};

		function defaultImg() {
			if(mui.os.plus) {
				plus.io.resolveLocalFileSystemURL("_doc/head.jpg", function(entry) {
					var s = entry.fullPath + "?version=" + new Date().getTime();;
					document.getElementById("head-img").src = s;
					document.getElementById("head-img1").src = s;
				}, function(e) {
					document.getElementById("head-img").src = '../images/logo.png';
					document.getElementById("head-img1").src = '../images/logo.png';
				})
			} else {
				document.getElementById("head-img").src = '../images/logo.png';
				document.getElementById("head-img1").src = '../images/logo.png';
			}
			document.getElementById("myName").innerText = '登陆/注册';

		}
		document.getElementById("head-img1").addEventListener('tap', function(e) {
			e.stopPropagation();
		});
		document.getElementById("welcome").addEventListener('tap', function(e) {
			//显示启动导航 
			mui.openWindow({
				id: 'guide',
				url: 'guide.html',
				show: {
					aniShow: 'fade-in',
					duration: 300
				},
				waiting: {
					autoShow: false
				}
			});
		});

		function initImgPreview() {
			var imgs = document.querySelectorAll("img.mui-action-preview");
			imgs = mui.slice.call(imgs);
			if(imgs && imgs.length > 0) {
				var slider = document.createElement("div");
				slider.setAttribute("id", "__mui-imageview__");
				slider.classList.add("mui-slider");
				slider.classList.add("mui-fullscreen");
				slider.style.display = "none";
				slider.addEventListener("tap", function() {
					slider.style.display = "none";
				});
				slider.addEventListener("touchmove", function(event) {
					event.preventDefault();
				})
				var slider_group = document.createElement("div");
				slider_group.setAttribute("id", "__mui-imageview__group");
				slider_group.classList.add("mui-slider-group");
				imgs.forEach(function(value, index, array) {
					//给图片添加点击事件，触发预览显示；
					value.addEventListener('tap', function() {
						slider.style.display = "block";
						_slider.refresh();
						_slider.gotoItem(index, 0);
					})
					var item = document.createElement("div");
					item.classList.add("mui-slider-item");
					var a = document.createElement("a");
					var img = document.createElement("img");
					img.setAttribute("src", value.src);
					a.appendChild(img)
					item.appendChild(a);
					slider_group.appendChild(item);
				});
				slider.appendChild(slider_group);
				document.body.appendChild(slider);
				var _slider = mui(slider).slider();
			}
		}

		if(mui.os.stream) {
			document.getElementById("check_update").display = "none";
		}

		mui.plusReady(function() {
			document.getElementById('quicklyRegister').addEventListener('tap', function() {

				openRegGoldAccount();

			});
			document.getElementById('zcEdu').addEventListener('tap', function() {
				var url = this.href;
				openWindowWithTitle(url, '中诚学院');

			});

			//退出登陆
			document.getElementById('tuchulogin').addEventListener('tap', function() {
				localStorage.setItem('loginState', undefined);

				plus.webview.currentWebview().reload(true);

			});

		});

		document.getElementById('login').addEventListener('tap', function() {

			try {
				var state = JSON.parse(localStorage.getItem('loginState'));
				console.log(localStorage.getItem('loginState'));
				if(state.LoginId) {
					//plus.webview.create("user.html").show();

					openWindowWithTitle('user.html', '用户信息');

				} else {
					console.log(2);
					openWindowWithTitle('flogin.html', '登录');
				}

			} catch(e) {
				console.log(e);
				openWindowWithTitle('flogin.html', '登录');
				//TODO handle the exception
			}

		});

		document.getElementById('liVsersion').addEventListener('tap', function() {
			update();
		});
		var updateClick = 0;
		setInterval(function() {
			updateClick = 0;
		}, 6000);

		function update() {
			if(isIos())
			{
				return;
			}
			updateClick++;
			//		版本更新检查
			// 获取apk/ipa版本号 by hhg 20170307

			var ver = plus.runtime.version;

			mui.getJSON('http://app.99990158.com/app/version.json?v=' + Math.random() * 5, function(data) {

				if(ver != data.version || updateClick >= 3) {

					mui.confirm('更新提示', '发现新版本', ['马上升级', '暂时不升级'], function(e) {
						if(e.index == 0) {
							console.log(data.url)
							var url = data.url; // 下载文件地址
							var dtask = plus.downloader.createDownload(url, {}, function(d, status) {
								if(status == 200) { // 下载成功
									var path = d.filename;
									console.log(d.filename);

									plus.runtime.install(path); // 安装下载的apk文件
								} else { //下载失败
									console.log(d.filename);
									alert("Download failed: " + status);
								}
							});
							dtask.start();
						} else {

						}

					});

				} else {
					plus.nativeUI.toast('已经是最新版本。');

				}

			})

		}

		//预加载模板父页面
		/*var userPage = mui.preload({
			url: 'user.html',
			id: 'user.html',
			styles: {
				popGesture: "hide"
			}
		});*/

		/*mui.each(mui('#acLink a'),function(index,item){
			item.addEventListener('tap',function(){
				GetArticleCollection();
			});
		});*/
		ChangeHeadImg();

		function ChangeHeadImg() {

			try {
				var state = JSON.parse(localStorage.getItem('loginState'));

				if(state.LoginId) {
					if(state.type == 'wx') {

						document.getElementById("head-img").src = state.userInfo.headimgurl;
						document.getElementById("myName").innerText = state.userInfo.nickname;

					} else {
						document.getElementById("myName").innerText = state.LoginId;
					}
				}
			} catch(e) {
				//TODO handle the exception
				//console.log(e);
			}

		}

		function logOut() {

			defaultImg();
		}
	</script>

	<script type="text/javascript">
		var msg = {
			"href": "http://a.app.qq.com/o/simple.jsp?pkgname=com.zc.goldApp",
			"title": "中诚黄金",
			"content": "中诚黄金是上海黄金交易所的会员，专业从事黄金T+D业务的咨询服务，致力于为广大客户提供及时、全面、专业的黄金投资咨询服务。",
			"thumbs": ["_www/logo.png"]
		};

		function openShare() {
			shareWebview();
		}
		mui.plusReady(function() {
			ws = plus.webview.currentWebview();
			//关闭splash页面；
			plus.navigator.closeSplashscreen();
		})
		var sharew;
		var ws = null;
		/**
		 *分享窗口
		 */
		function shareWebview() {
			ws = plus.webview.currentWebview();
			if(sharew) { // 避免快速多次点击创建多个窗口
				return;
			}
			var top = plus.display.resolutionHeight - 134;
			var href = "share.html";
			sharew = plus.webview.create(href, "share.html", {
				width: '100%',
				height: '134',
				top: top,
				scrollIndicator: 'none',
				scalable: false,
				popGesture: 'none'
			}, {
				shareInfo: {
					"href": msg.href,
					"title": msg.title,
					"content": msg.content,
					"logo": msg.thumbs,
					"pageSourceId": ws.id
				}
			});
			sharew.addEventListener("loaded", function() {
				sharew.show('slide-in-bottom', 300);
			}, false);
			// 显示遮罩层  
			ws.setStyle({
				mask: "rgba(0,0,0,0.5)"
			});
			// 点击关闭遮罩层
			ws.addEventListener("maskClick", closeMask, false);
		}

		function closeMask() {
			ws.setStyle({
				mask: "none"
			});
			//避免出现特殊情况，确保分享页面在初始化时关闭 
			if(!sharew) {
				sharew = plus.webview.getWebviewById("share.html");
			}
			if(sharew) {
				sharew.close();
				sharew = null;
			}
		}
	</script>

</html>